//
//  TransformProtocol.swift
//  RESTAPI
//
//  Created by 赵康 on 2024/10/6.
//

import Foundation
import Vapor
import Fluent

protocol TransformProtocol {
    associatedtype answerWithID
    
   static func getIDFromSlug(_ req: Vapor.Request, slug: String) async throws -> answerWithID
}
